package map.action;

import javax.swing.KeyStroke;

import map.mapeditor.MapEditor;
import map.util.ReadResource;

public class ExitAction extends AbstractFileAction {

	public ExitAction(MapEditor mapeditor, SaveAction saveaction) {
		super(mapeditor, saveaction, ReadResource
				.getString("map.application.jframe.menus.filemenu.exit"), "");
		putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke("control Q"));
	}

	@Override
	protected void doPerformAction() {
		System.out.println("ExitAction");
		//System.exit(0);

	}

}
